NAVIÉ

ProcessDataGrids

ProcessDataGrids



This struct contains additional information for operations on grid based nodes (channels, volumes..).
Usually it is filled by Effex and passed to the processing functions of custom plugin nodes.

The values should never be altered if not explicitly stated.

VecInt3D start


The starting cell coordinate in a multiprocessor context.

VecInt3D end


The ending cell coordinate in a multiprocessor context.

VecInt3D xyz


The currently processed cell coordinate.

unsigned long center_index


The cell coordinate given as an array index. Only used for collocated grids.

std::vector< long > indices


A container of cell indices used for staggered grids. Can be empty!

double frac_c


A volume center fraction telling you how much an obstacle is overlapping the current collocated cell.

double frac_u


A volume fraction telling you how much of an obstacle is overlapping the current staggered cell along the x-direction.

double frac_v


A volume fraction telling you how much of an obstacle is overlapping the current staggered cell along the y-direction.

double frac_w


A volume fraction telling you how much of an obstacle is overlapping the current staggered cell along the z-direction.

double const


If the operating node that has filled this struct uses constraints, then this value gives you the final constraint value.

vector3d physical_position


The currently processed position in physical space.

vector3d world_position


The currently processed position in world space.

vector3d op_result


A result variable that can be changed. Currently only used by custom force plugins.